package orthoplanner.com.google.code.eventhandlers;

import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

import orthoplanner.com.google.code.ui.ImageViewer;


public class AddLineHandler extends MouseAdapter {
	ImageViewer imgViewer;

	public AddLineHandler(ImageViewer imgViewer) {
		this.imgViewer = imgViewer;
	}

	@Override
	public void mousePressed(MouseEvent arg0) {
		imgViewer.DM = ImageViewer.DRAW_MODE.LINE;
	}

}
